﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="yhlx_List.aspx.cs" Inherits="sauyou.Admin.yhlx_List" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户类型管理</title>
    <link rel="stylesheet" type="text/css" href="images/style.css" />

    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript">
        $(function() {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function() {
			        $(this).addClass("tr_hover_col");
			    },
			    function() {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>

</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="add"><a href="yhlx_Add.aspx">增加类型</a></span><b>您当前的位置：首页 &gt; 用户类型管理 &gt;
            用户类型管理列表</b></div>
    <div class="spClear">
    </div>
    <asp:Repeater ID="rptYhlx" runat="server" OnItemCommand="rptYhlx_ItemCommand">
        <HeaderTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tr>
                    <th width="6%">
                        选择
                    </th>
                    <th width="7%">
                        编号
                    </th>
                    <th align="left">
                        类型名称
                    </th>
                    <th width="90">
                        优先级别
                    </th>
                    <th width="150">
                        管理操作
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="center">
                    <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" />
                </td>
                <td align="center">
                    <asp:HiddenField ID="hnID" runat="server" Value='<%#Eval("Id") %>' />
                    <%# Eval("ID") %>
                </td>
                <td>
                    <asp:Literal ID="LitFirst" runat="server"></asp:Literal>
                    <%# Eval("name") %>
                </td>
                <td align="center">
                    <%# Eval("SortId") %>
                </td>
                <td align="left">
                    <span><a href="yhlx_Add.aspx?dataId=<%# Eval("Id") %>">修改</a></span> <span>
                        <asp:LinkButton ID="lbDel" CommandName="btndel" runat="server" OnClientClick="return confirm( '您确定要删除吗？ ');">删除</asp:LinkButton></span>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    </form>
</body>
</html>
